<?php



class MessageController extends Forum_Controller_Action
{
	public function addAction(){
		if(isset($_POST['mass'])){
			$mass = $_POST['mass'];
		
			Forum::getSingleton('Forum_Message')->add($mass);
			$this->_redirect($_SERVER['HTTP_REFERER'], false);
		}
	}
}

?>